<div class="cp-rate">
  <i class="icon icon-favorfill" *ngFor="let item of on"></i> <i class="icon icon-favor" *ngFor="let item of off"></i>
</div>
